package Test;

import javax.swing.event.TableModelEvent;
import javax.swing.event.TableModelListener;

public class Person implements TableModelListener {
    public String name;
    public String data;//出生日期
    public String sex;
    public String province;
    public String city;
    public Person(String name, String data,
                  String sex, String province,
                  String city) {
        this.name = name;
        this.data = data;
        this.sex = sex;
        this.province = province;
        this.city = city;
    }
    public String getName() {
        return name;
    }
    public String getData() {
        return data;
    }
    public String getSex() {
        return sex;
    }
    public String getProvince() {
        return province;
    }
    public String getCity() {
        return city;
    }
    @Override
    public void tableChanged(TableModelEvent e) {
    }
}
